package com.heu.blood.autologous.exception;

import com.heu.blood.globalExceptionHandler.BaseErrorInfoInterface;

/**
 * @author lyj
 * @email lyj@heu.com
 * @date 2024-07-15 00:26:49
 * 申请单模块的异常枚举类--全部以121开头
 */
public enum AutologousExceptionEnum implements BaseErrorInfoInterface {
    ILLEGAL_PARAMS("12101","部分参数不合法");
   // NON_EXISTENT_PARAM("12102", "输入的参数不存在[AUTOLOGOUS]");



    AutologousExceptionEnum(String resultCode, String resultMsg){
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
    }

    // 错误码
    private final String resultCode;

    // 错误提示
    private final String resultMsg;
    @Override
    public String getResultCode() {
        return resultCode;
    }

    @Override
    public String getResultMsg() {
        return resultMsg;
    }
}
